<div class="layui-form" lay-filter="layPopup" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">店铺名称</label>
        <div class="layui-input-inline" style="width: 220px">
            <script template type="text/html">
                <input type="text" name="name" value="{{ d.params.name }}" placeholder="请输入店铺名称" autocomplete="off"
                       class="layui-input" lay-verify="required">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
    	<label class="layui-form-label">来源</label>
    	<div class="layui-input-inline" style="width: 220px">
    		<script template type="text/html">
				<select name="source" lay-search>
					<option value="1" {{# if(d.params.source == 1){ }} selected {{# } }} >淘宝</option>
					<option value="2" {{# if(d.params.source == 2){ }} selected {{# } }} >京东</option>
					<option value="3" {{# if(d.params.source == 3){ }} selected {{# } }} >抖音</option>
					<option value="4" {{# if(d.params.source == 4){ }} selected {{# } }} >拼多多</option>
				</select>
			</script>
    	</div>
    </div>
    <script template type="text/html">
        <input type="hidden" name="id" value="{{ d.params.id }}">
    </script>
    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input class="layui-btn" lay-filter="laySubmitEdit" lay-submit type="button" value="确认">
        </div>
    </div>
</div>
<script lay-done="layui.data.sendParams(d.params)" template type="text/html"></script>
<script src="../web/res/js/shop/Index/other.js"></script>